package com.bdzl.ecs.dao;

import com.bdzl.pub.entity.loan.ContractOnlineSignrecDO;

import java.util.List;
import java.util.Map;

/**
 * 电子合同签署记录表
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 14:00:08
 */
public interface ContractOnlineSignrecDao {

	ContractOnlineSignrecDO get(Integer cosId);

	List<ContractOnlineSignrecDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(ContractOnlineSignrecDO contractOnlineSignrec);

	int update(ContractOnlineSignrecDO contractOnlineSignrec);

	int remove(Integer cos_id);

	int batchRemove(Integer[] cosIds);

	/**
	 * @Description: TODO 根据订单号查询已签署的人数
	 * @param odrNo 订单号
	 * @return: int
	 * @Author: Ming
	 * @Date: 2021/5/26 18:53
	 */
	int listByCosOdr(String odrNo);
}
